#ifndef TCPSERVER_H
#define TCPSERVER_H
#include "TCPSocket.h"

class TCPServer {
public:
	TCPServer();
	~TCPServer();
	int setListen(unsigned short port);
	TCPSocket* acceptConnect(int timeout);

private:
	int m_listenFd;

};
#endif

